import com.google.appengine.api.datastore.Entity
import com.google.appengine.api.datastore.Key

Entity appconfig = null
if(params.appConfigKey == null) {
	redirect "appconfig.groovy?errorMessage=$params.id is not exist..."
	return
}
def appConfigId = params.appConfigKey as int
def appConfigKey = [
	'AppConfigE',
	appConfigId] as Key
appconfig = datastore.get(appConfigKey)
if(appconfig == null) {
	redirect "appconfig.groovy?errorMessage=$params.id is not exist..."
	return
}
request.appconfig = appconfig

request.title = 'Edit AppConfig'
request.view = 'appconfigEdit.gsp'

forward 'wydLayout.gsp'


